using System;
using System.Collections.Generic;
using System.Text;

namespace RecruitmentSystem.Common
{
    public class News
    {
        private int id;

        private string title;

        private DateTime createTime;

        private int categoryId;

        private string content;

        private string author;

        private string source;

        private bool isPublish;

        private int clicks;

        public int Id
        {
            get { return id; }
            set { id = value; }
        }

        public string Title
        {
            get { return title; }
            set { title = value; }
        }

        public DateTime CreateTime
        {
            get { return createTime; }
            set { createTime = value; }
        }

        public int CategoryId
        {
            get { return categoryId; }
            set { categoryId = value; }
        }

        public string Content
        {
            get { return content; }
            set { content = value; }
        }

        public string Author
        {
            get { return author; }
            set { author = value; }
        }

        public string Source
        {
            get { return source; }
            set { source = value; }
        }

        public bool IsPublish
        {
            get { return isPublish; }
            set { isPublish = value; }
        }

        public int Clicks
        {
            get { return clicks; }
            set { clicks = value; }
        }
    }
}
